Imports System.Windows.Forms
Imports Team_A_Contact_Mod

Public Class mdiCampaign

    Dim VoterForm As frmVoter
    Dim SearchForm As frmSearch
    Dim ContactUpdateForm As frmContactUpdate
    Dim ConcernsForm As frmConcerns

    Private Sub ExitToolsStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ExitToolStripMenuItem.Click
        Me.Close()
    End Sub

    Private Sub FlowLayoutPanel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs)

    End Sub

    Private Sub mdiCampaign_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        SearchForm = New frmSearch
        SearchForm.MdiParent = Me
        ContactUpdateForm = New frmContactUpdate
        ContactUpdateForm.MdiParent = Me
        ConcernsForm = New frmConcerns
        ConcernsForm.MdiParent = Me

    End Sub

    Private Sub ToolStripButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton3.Click
        VoterForm = New frmVoter
        VoterForm.MdiParent = Me
        'VoterForm.Width = Me.DesktopBounds.Width
        'VoterForm.Height = Me.DesktopBounds.Height

        VoterForm.Show()
        Me.ActiveMdiChild.AutoSize = True
    End Sub
End Class
